package com.tiancheng.onecode.model.request.admin;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tiancheng.onecode.model.request.BasePageReq;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @Author: kellen
 * @Description: 账单查询参数
 * @Date: create in 2024/12/26 21:32
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class QueryBillReq extends BasePageReq implements Serializable {
    /**
     * 平台编码
     */
    private String platformCode;
    /**
     * 平台商户id
     */
    private Long platformMerchantId;
    /**
     * 订单id
     */
    private String orderId;
    /**
     * 商户编码、商户名称
     */
    private String merchantQuery;
    /**
     * 账单生成-开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime billDateBegin;
    /**
     * 账单生成-结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime billDateEnd;
    /**
     * 账单状态：wait、ing、success
     */
    private String settleStatus;

}
